function [ y ] = testConnection( conn )
%TESTCONNECTION Summary of this function goes here
%   Detailed explanation goes here
try
    y = isconnection( conn );
catch e
    %disp(e.message);
    y = 0;
end
if y
    y = 1;
else
    y = 0;
    %disp('The connection is disconnected !!!!');
end

end

